#pragma once
#include <ctime>
#include <unordered_map>
#include <string>

// 会话存储结构
struct Session
{
	int user_id;
	std::string username;
	std::string role;
	time_t expire_time;
};

// 内容的会话存储
// 键值对
inline std::unordered_map<std::string, Session> activeSessions;